//
//  ActivityIndicatorView.m
//  taishan
//
//  Created by mac on 2019/4/15.
//  Copyright © 2019年 jznrj. All rights reserved.
//

#import "ActivityIndicatorView.h"
#import "ColorUtil.h"
@implementation ActivityIndicatorView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(id) init{
    
    self = [super init];
    if (!self) {
        return nil;
    }
    
    self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;
    self.color = [ColorUtil titleColor];
    self.hidesWhenStopped = YES;
    
    return self;
}
@end
